package com.movitech.mobile.cz.base.purchase.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormBidCandidateUnit;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormBidCandidateUnit;

import java.util.List;

/**
 * <p>
 * 流程表单-投标候选单位 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
public interface WFlowFormBidCandidateUnitService extends IService<WFlowFormBidCandidateUnit> {
	
	List<ExtWFlowFormBidCandidateUnit> getExtFormList(WFlowFormBidCandidateUnit wFlowFormBidCandidateUnit);

	List<WFlowFormBidCandidateUnit> getByFormId(String formId);

	WFlowFormBidCandidateUnit add(WFlowFormBidCandidateUnit wFlowFormBidCandidateUnit);

	List<WFlowFormBidCandidateUnit> findByFormIdAndType(String formId, Integer type);

	List<ExtWFlowFormBidCandidateUnit> getAwardBidByFormId(String formId);

	WFlowFormBidCandidateUnit getBidCandidateUnitByFormIdAndSupplierId(String flowFormId, String suppliersId);
	
}
